﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Login</title>
<link rel="stylesheet" type="text/css" href="../S01/CHS/css/common.css" />
<link rel="stylesheet" type="text/css" href="../S01/CHS/css/date_picker.css" />
<script type="text/javascript" src="/common/ajax.js"></script>
<script type="text/javascript" src="../js/date_picker.js"></script>
<script type="text/javascript">
function XmlHttpCallBack(xmlHttp)
{
	if (xmlHttp.responseText.indexOf("<error>") != 0)
	{
		window.location.href = "index.aspx";
	}
	else
	{
		alert(xmlHttp.responseText);
	}

	document.getElementById("Submit").disabled = false;
}

function OnSubmit(form)
{
	if (form.Name.value == "")
	{
		alert("名称不能空！");
		form.Name.select();
		return false;
	}
	
	if (form.Password.value == "")
	{
		alert("密码不能为空！");
		form.Password.select();
		return false;
	}
	
	var data = "Name=" + form.Name.value;
	data += "&Password=" + form.Password.value;
	
	document.getElementById("Submit").disabled = true;
	_ajax.Post("/alicms.aspx?Object=Member&Operation=Login", data, XmlHttpCallBack);
	return false;
}
</script>
</head>
<body>
<!-- #BeginLibraryItem "lib/header.lbi" -->
<div class="Header">
	<a href="http://alicms.cn"><img src="../S01/CHS/image/temp/logo.gif" /></a>
	<a href="http://alicms.cn"><img src="../S01/CHS/image/temp/banner.jpg" /></a>
</div>
<!-- #EndLibraryItem -->
<!-- #BeginLibraryItem "lib/menu.lbi" -->
<ul class="TabMenuBar">
	<li class="Current"><a href="#"><span>会员中心</span></a></li>
	<li><a href="#"><span>网上商店</span></a></li>
	<li><a href="#"><span>文章管理</span></a></li>
	<li><a href="#"><span>新闻管理</span></a></li>
	<li><a href="#"><span>音乐管理</span></a></li>
	<li><a href="#"><span>图片管理</span></a></li>
	<li><a href="#"><span>视频管理</span></a></li>
	<li><a href="#"><span>电影管理</span></a></li>
	<li><a href="#"><span>网址管理</span></a></li>
</ul>
<div class="MenuBar">
	<a href="#">会员登陆</a>
	<a href="#">会员注册</a>
</div>
<!-- #EndLibraryItem -->
<div class="Path"><label>当前位置：</label> <a href="#">首页</a> &gt; <a href="#">会员中心</a> &gt; 会员登陆</div>
<div class="Wrap">
	<div class="Block1">
		<h1>温馨提示</h1>
		<ul class="List1">
			<li>请您登陆</li>
		</ul>
	</div>
	<div class="Block2">
		<form onsubmit="return OnSubmit(this)" class="Block3">
			<dl>
				<dt>会员名：</dt>
				<dd><input type="text" name="Name" maxlength="50" /></dd>
			</dl>
			<dl>
				<dt>密码：</dt>
				<dd><input type="password" name="Password" maxlength="50" /></dd>
			</dl>
			<input type="submit" id="Submit" value="登陆" />
		</form>
	</div>
</div>
<!-- #BeginLibraryItem "lib/footer.lbi" -->
<div class="Footer"> 版权所有 乌鲁木齐爱革网络科技有限公司 <br />
		<br />
	<br />
	<br />
	<br />
	<br />
	<br />
</div>
<!-- #EndLibraryItem -->
</body>
</html>
